from flask_wtf import FlaskForm
from wtforms import StringField, SubmitField, TextAreaField
from wtforms.validators import DataRequired


class NameForm(FlaskForm):
    text = TextAreaField('input text', validators=[DataRequired()], id="content_code")
    submit = SubmitField('Submit')